package com.util;

import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;

/**
 * @author: sun.hongliang
 * @create: 2018/12/26 15:51
 */
public class RuntimeMXBeanUtil {

    private static final RuntimeMXBean runtimeMXBean = ManagementFactory.getRuntimeMXBean();

    private static String populateProcessID() {
        return runtimeMXBean.getName().split("@")[0];
    }
}
